﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSharpCity.Tools.RandomNumberGenerators;

namespace EvoAlgLib
{
    public class LibStatics
    {
        private static Random randomizer = null;

        private static NormalRandomGenerator nrd = new NormalRandomGenerator(-1,1);

        public static void setRandomizer(Random _randomizer)
        {
            randomizer = _randomizer;
        }

        public static Random getRandomizer()
        {
            return randomizer;
        }

        public static void setNormalRandomizer(NormalRandomGenerator _randomizer)
        {
            nrd = _randomizer;
        }

        public static NormalRandomGenerator getNormalRandomizer()
        {
            return nrd;
        }
    }
}
